/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

export interface Track {
  songID: string;
  // 歌曲名称
  title: string;
  fileName: string;
  artist: string;
  // 是否收藏
  hasCollect: boolean;
  // 是否VIP
  isVip: boolean;
  // 音频类型
  audioType: string;
}

const originalSongs: Track[] = [
  {
    songID: 'song1',
    title: '这是歌名',
    fileName: '1.wav',
    artist: '张三',
    hasCollect: false,
    isVip: true,
    audioType: '空间音频',
  },
  {
    songID: 'song2',
    title: '还是歌名2',
    fileName: '2.wav',
    artist: '李四',
    hasCollect: false,
    isVip: false,
    audioType: '空间音频',
  },
  {
    songID: 'song3',
    title: '还是歌名3',
    fileName: '3.wav',
    artist: '王五',
    hasCollect: false,
    isVip: false,
    audioType: '',
  },
];

export const songs: Track[] = [];
for (let i = 0; i < 100; i++) {
  const song = originalSongs[i % originalSongs.length];
  songs.push({
    ...song,
    title: `还是歌名${i + 1}`,
    songID: `song${i + 1}`,
  });
}
